package com.gtqing.mall.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author gthang
 * @create 2022-04-10-10:08
 */
@Data
public class UserRegisterForm {

//    @NonNull 用于String 判断空格
//    @NotEmpty 用于集合
    @NotBlank(message = "用户名不能为空")
    private String username;


    @NotBlank(message = "密码不能为空")
    private String password;


    @NotBlank(message = "邮箱不能为空")
    private String email;
}
